<%-- 
    Document   : pagreg_8
    Created on : Jun 21, 2013, 3:40:44 PM
    Author     : Rómulo Galindo
--%>

<%@page import="acceso.util.Departamento"%>
<%@page import="java.util.HashMap"%>
<%@page import="java.util.Map"%>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.List"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE html>
<!--VARIABLES / PARAMETROS-->
<c:set scope="page" var="ti_pagina" value="${param.ti_pagina}" />
<c:set scope="page" var="ti_pagreg" value="${param.ti_pagreg}" />
<c:set scope="page" var="ti_estreg" value="${param.ti_estreg}" />
<c:set scope="page" var="va_pagreg" value="${param.va_pagreg}" />
<c:set scope="page" var="id_pagreg" value="${param.id_pagreg}" />
<!--EXTRAS-->
<c:set scope="page" var="co_pagina" value="${param.co_pagina}" />
<c:set scope="page" var="co_vuelta" value="${param.co_vuelta}" />
<c:set scope="page" var="co_pagreg" value="${param.co_pagreg}" />
<!--METODOS-->
<!--VISUALIZACIÓN-->
<%--<c:if test="${ti_pagina =='R'}">--%>
<c:if test="${ti_estreg == 'L'}">
    <input type="hidden" id="${id_pagreg}" class="q" value="${va_pagreg}"/>
    <script>
        options_gson['${id_pagreg}'] = JSON.parse('${paginaBean.opciones_gson}');
        buildpagreg8('${id_pagreg}',${co_vuelta}, "", false);
    </script>
</c:if>
<c:if test="${ti_estreg == 'E'}">
    <input type="hidden" id="${id_pagreg}" class="q" value="${va_pagreg}"/>
    <script>
        options_gson['${id_pagreg}'] = JSON.parse('${paginaBean.opciones_gson}');
        buildpagreg8('${id_pagreg}',${co_vuelta}, "", true);
    </script>
</c:if>